set terminal pngcairo enhanced font "arial,10" fontscale 1.0 size 1000, 800 
set output 'histograms_sysbench_thpt.png'
set boxwidth 0.75 absolute
set style fill   solid 1.00 border lt -1
set key outside right top vertical Left reverse noenhanced autotitles columnhead nobox
set key invert samplen 4 spacing 1 width 0 height 0 
set style histogram rowstacked title  offset character 0, 0, 0
set datafile missing '-'
set style data histograms
set xtics border in scale 0,0 nomirror rotate by -45  offset character 0, 0, 0 autojustify
set xtics  norangelimit font ",8"
set xtics   ()
set title "Throughput(kbps) for different priorities with varying max uncompleted dispatches" 
set yrange [ 0000 : 2000 ] noreverse nowriteback
plot 'sysbench_thpt_bar.dat' using 2:xtic(1), for [i=2:6] '' using i
